package cn.quevo.cube.provide.exception;

import cn.quevo.common.enums.EnumsInterface;
import cn.quevo.common.exception.CustomException;
import cn.quevo.cube.provide.exception.response.ColumnExceptionResponse;

/**
 * 字段验证异常
 *
 * @author July july_sky@foxmail.com
 * @version 1.0
 * @date 2018/12/11 3:55 PM
 * @Copyright 湘豫（北京）科技有限公司版权所有.All Rights Reserved.
 */
public class ColumnCheckException extends CustomException {

    public ColumnCheckException() {
        super(ColumnExceptionResponse.SEQUENCE_EXCEPTION);
    }

    public ColumnCheckException(Integer code, String msg) {
        super(code, msg);
    }

    public ColumnCheckException(EnumsInterface enumsInterface) {
        super(enumsInterface);
    }

    public ColumnCheckException(Throwable e, EnumsInterface enumsInterface) {
        super(enumsInterface, e);
    }
}
